<script language="JavaScript">
	$("input").click(function(){
		alert("hola");
		return false;
	});
	function test(){
		alert( $("input").attr("type"));
	}
	
</script>
<form id="fAddIglesia" method="post" action="action">
	
	<span>Nombre</span><input type="text" name="data[Iglesia][nombre]"/>
	<input type="submit" onclick="return false;" value="Enviar"/>
</font>
